package com.cndw.kungfu.model.business;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cndw.kungfu.dao.IConstantsConfigDao;

@Service
public class IConstantsConfigManger {

	@Resource
	private IConstantsConfigDao configDao;

	public boolean updateConfig(String name, String configValue) {
		try {
			return configDao.updateConfig(name, configValue);
		} catch (Exception e) {
			e.printStackTrace();
			return false;
		}
	}
}
